export type HotMap = {
    type: string
    title: string
    url: string
}

export const hotMap: HotMap[] = [
    { type: "1", title: "特惠推荐", url: "/hot/preference" },
    { type: "2", title: "爆款推荐", url: "/hot/inVogue" },
    { type: "3", title: "一站买全", url: "/hot/oneStop" },
    { type: "4", title: "新鲜好物", url: "/hot/new" },
];

export const orderTypes = [
    { type: 1, text: "待付款", icon: "icon-currency" },
    { type: 2, text: "待发货", icon: "icon-gift" },
    { type: 3, text: "待收货", icon: "icon-check" },
    { type: 4, text: "待评价", icon: "icon-comment" },
];

/** 订单状态枚举 */
export enum OrderState {
    /** 待付款 */
    DaiFuKuan = 1,
    /** 待发货 */
    DaiFaHuo = 2,
    /** 待收货 */
    DaiShouHuo = 3,
    /** 待评价 */
    DaiPingJia = 4,
    /** 已完成 */
    YiWanCheng = 5,
    /** 已取消 */
    YiQuXiao = 6,
}

/** 订单状态列表 */
export const orderStateList = [
    { id: 0, text: '' },
    { id: 1, text: '待付款' },
    { id: 2, text: '待发货' },
    { id: 3, text: '待收货' },
    { id: 4, text: '待评价' },
    { id: 5, text: '已完成' },
    { id: 6, text: '已取消' },
]
